<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include  file="/jsps/common/taglibs.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<script type="text/javascript">
	    function goback(){
	        history.go(-1);
	    }
	</script>
	
  </head>
  
  <body>
      <div class="title">
          <h3>更新管理员信息</h3>
      </div>
      <hr/>
      <div class="wrapper">
          <form class="content_form" action="<c:url value="managerMgr"/>" method="post">
              <input type="hidden" name="act" value="update"/>
              <div class="wrapper_div">
                  <span>用户名:</span>
                  <input type="text" name="manager_name" value="${manager.name}" readonly="readonly"/>
              </div>
              <div class="wrapper_div">
                  <span>密码:</span>
                  <input type="password" name="manager_pwd" value="${manager.password}"/>
              </div>
              <div class="wrapper_div">
                  <span>真实姓名:</span>
                  <input type="text" name="manager_rel_name" value="${manager.realName}"/>
              </div>
              <div class="wrapper_div">
                  <span>性别:</span>
                   男<input type="radio" name="manager_sex" value="0" <c:if test="${manager.sex==0}">checked="checked"</c:if>/>
                   女<input type="radio" name="manager_sex" value="1" <c:if test="${manager.sex==1}">checked="checked"</c:if>/>
              </div>
              <div class="wrapper_div">
                  <span>出生日期:</span>
                  <input type="text" name="manager_birthday" value="${manager.birthday}"/>
              </div>
              <div class="wrapper_div">
                  <span>电子邮箱:</span>
                  <input type="text" name="manager_email" value="${manager.email}"/>
              </div>
              <div class="wrapper_div">
                  <span>居住地址:</span>
                  <input type="text" name="manager_addr" value="${manager.addr}"/>
              </div>
              <div class="wrapper_div">
                  <span>邮编:</span>
                  <input type="text" name="manager_zipcode" value="${manager.zipCode}"/>
              </div>
              <div class="wrapper_div">
                  <button onclick="goback();">返 回</button>
                  <input type="submit" value="提交"/> 
                  <input type="reset" value="重置"/>
              </div>
          </form>
      </div>
  </body>
</html>
